<%-- 
    Document   : bienvenido
    Created on : 15/04/2011, 13:55:01
    Author     : Hugo
--%>

<%@page import="form.Usuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="java.util.*" session="true"%>

<c:if  test="${user==null}">
    <jsp:forward page="index.jsp">
        <jsp:param name="errorSesion" value="Es obligatorio identificarse salame"/>
    </jsp:forward>
</c:if>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>bienvenido ${user.nombre} ${user.apellido} </h1>
        <html:link href="pagina2.jsp">[ir a pagina2]</html:link>
        <html:link action="ProcesarLogout">[logout]</html:link>

    </body>
</html>
